﻿@{
    Layout = null;
}
 @model ElingOA6_Admin_DSJCJ.Model.Entity
<!DOCTYPE html>

<html>
<head>
    <title>文件上传说明</title>
    @if (false)
    {
        <script src="../../../../Scripts/jquery-vsdoc.js" type="text/javascript"></script>
        <script src="../../../../Scripts/ASPxScriptIntelliSense.js" type="text/javascript"></script>
    }
    <link href="@Url.Content("~/Content/Site.css", true)" rel="stylesheet" type="text/css" />

    <script src="@Url.Content("~/Scripts/jquery.min.js", true)" type="text/javascript"></script>
    <script src="@Url.Content("~/Fckeditor/fckeditor.js", true)" type="text/javascript"></script>
    <script src="@Url.Content("~/Common/GetRootPath.ashx", true)" type="text/javascript"></script>
    <script>
        if (top.boardtop) {
            top.boardtop.head_txt.innerText = "文件上传说明";
        }
    </script>
    @Html.DevExpress().GetStyleSheets(

        new StyleSheet { ExtensionType = ExtensionType.ListBox, Theme = DevExpressHelper.Theme }
)
    @Html.DevExpress().GetScripts(
        new Script { ExtensionType = ExtensionType.ListBox }
)
    <script type="text/javascript">
        $(document).ready(function () {

            var oFCKeditor = new FCKeditor('FFtpShowText');
            oFCKeditor.BasePath = rootPath + "/fckeditor/";
            oFCKeditor.ToolbarSet = "Basic";
            oFCKeditor.ReplaceTextarea();
            

            var hdjsAlert = $("#hdjsAlert").val();
            if (hdjsAlert != "") {
                alert(hdjsAlert);
            }
        });
        function savemodel() {

            form_query.submit();
        }
        function cancel() {
            window.top.location.href = rootPath + "/";
        }
    </script>
</head>
<body>
    
     @using (Html.BeginForm("SavaModel", "FTPShowText", FormMethod.Post, new { id = "form_query" }))
     { 
        
          <div> 
         
      
       
         <table>
         <tr>
         <th align="center"> 请填写要修改的文件上传说明</th></tr></table>
        @Html.TextArea("FFtpShowText", Model.FFtpShowText, new { @cols = "110", @rows = "10" })

          <table width="100%" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td align="right" style="border-bottom: 1px solid #577F9E;">
                    @Html.DevExpress().Button(settings =>
               {
                   settings.Name = "btnOK";
                   settings.Text = "确定";
                   settings.ClientSideEvents.Click = "function(s,e){savemodel()}";
                   settings.Style.Add(HtmlTextWriterStyle.PaddingRight, "5px");
                   settings.Images.Image.Url = Url.Content("~/Content/ControlImages/ok.png");
                   settings.CausesValidation = false;
               }).GetHtml()
                </td>
                <td align="left" style="border-bottom: 1px solid #577F9E;">
                    @Html.DevExpress().Button(settings =>
               {
                   settings.Name = "btnCancel";
                   settings.Text = "取消";
                   settings.ClientSideEvents.Click = "function(s,e){cancel()}";
                   settings.Images.Image.Url = Url.Content("~/Content/ControlImages/no.png");
                   settings.CausesValidation = false;
               }).GetHtml()
                </td>
            </tr>
        </table>
   </div>
        
           @Html.Hidden("hdjsAlert", (ViewData["jsAlert"]));
      }    
         
</body>
</html>
  